<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:70:"/webHome/host6366235/www/public/../application/home/view/my/index.html";i:1680881885;s:66:"/webHome/host6366235/www/application/home/view/public/footer3.html";i:1680881888;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><?php echo $setting['webname']; ?>-我的</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="shortcut icon" href="/public/static/admin/uploads/set/<?php echo $setting['ico']; ?>">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
    <script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>
</head>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed b-line">
        <!--<a href="search.html" class="aui-navBar-item">-->
        <!--    <i class="icon icon-search"></i>-->
        <!--</a>-->

        <div class="aui-center">
            <span class="aui-center-title">我的</span>
        </div>
        <!--<a href="notice.html" class="aui-navBar-item">-->
        <!--    <i class="icon icon-news"></i>-->
        <!--</a>-->
    </header>
    <section class="aui-scrollView">
        <div class="aui-well-comm">
            <!--<div class="aui-well-comm-hd">-->
            <!--    &lt;!&ndash;<img src="/public/static/home/themes/img/user/user-mate-002.jpg" alt="">&ndash;&gt;-->
            <!--    <span class="aui-well-comm-vip">-->
            <!--        &lt;!&ndash;<img src="/public/static/home/themes/img/icon/icon-vip.png" alt="">&ndash;&gt;-->
            <!--    </span>-->
            <!--</div>-->
            <div class="aui-well-comm-bd">
                <h4>
                    <span><?php echo $user['name']; ?></span>
                    <?php if($user['sex']==0): ?><i class="icon icon-man"></i><?php else: ?><i class="icon icon-"></i><?php endif; ?>

                </h4>
                <p> <?php if(!empty($user['name'])): ?>大家好！我是<?php echo $user['name']; ?>，多多关照<?php endif; ?></p>
            </div>
            <!--<span class="aui-comm-sign">已签到</span>-->
        </div>
        <!--<div class="aui-grids">-->
            <!--<a href="collection.html" class="aui-grids-item">-->
            <!--    <span>1220</span>-->
            <!--    <span class="aui-grids-item-text">收藏</span>-->
            <!--</a>-->
            <!--<a href="friends.html" class="aui-grids-item">-->
            <!--    <span>9236</span>-->
            <!--    <span class="aui-grids-item-text">关注</span>-->
            <!--</a>-->
            <!--<a href="friends.html" class="aui-grids-item">-->
            <!--    <span>190</span>-->
            <!--    <span class="aui-grids-item-text">粉丝</span>-->
            <!--</a>-->
        <!--</div>-->
        <div class="divHeight"></div>
        <!--<div class="aui-head-access">-->
        <!--    <div class="aui-head-access-hd">我的学习</div>-->
        <!--    <span class="aui-head-access-fr aui-head-access-fr-clear">已学习:<em>161</em>节课  学习:<em>289</em>小时 <em>123</em>分</span>-->
        <!--</div>-->
        <!--<div class="aui-grids aui-grids-image">-->
        <!--    <a href="news.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item001.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的老师</span>-->
        <!--    </a>-->
        <!--    <a href="course.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item002.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的课程</span>-->
        <!--    </a>-->
        <!--    <a href="topic.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item003.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的题库</span>-->
        <!--    </a>-->
        <!--    <a href="score.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item004.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的成绩</span>-->
        <!--    </a>-->
        <!--    <a href="watch.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item005.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">最近观看</span>-->
        <!--    </a>-->
        <!--    <a href="download.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item006.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的下载</span>-->
        <!--    </a>-->
        <!--</div>-->
        <!--<div class="divHeight"></div>-->
        <!--<div class="aui-head-access">-->
        <!--    <div class="aui-head-access-hd">我的资产</div>-->
        <!--</div>-->
        <!--<div class="aui-grids aui-grids-image">-->
        <!--    <a href="coupon.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item007.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的优惠</span>-->
        <!--    </a>-->
        <!--    <a href="coin.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item008.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的金币</span>-->
        <!--    </a>-->
        <!--    <a href="https://xihazahuopu.taobao.com/" target="_blank" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item009.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的店铺</span>-->
        <!--    </a>-->
        <!--</div>-->
        <!--<div class="divHeight"></div>-->
        <!--<div class="aui-head-access">-->
        <!--    <div class="aui-head-access-hd">我的服务</div>-->
        <!--</div>-->
        <!--<div class="aui-grids aui-grids-image">-->
        <!--    <a href="order.html" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item010.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">我的订单</span>-->
        <!--    </a>-->
        <!--    <a href="javascript:;" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item011.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">邀请好友</span>-->
        <!--    </a>-->
        <!--    <a href="http://a-ui.cn/" target="_blank" class="aui-grids-item">-->
        <!--        <span>-->
        <!--            <img src="/public/static/home/themes/img/icon/icon-item012.png" alt="">-->
        <!--        </span>-->
        <!--        <span class="aui-grids-item-text">技术支持</span>-->
        <!--    </a>-->
        <!--</div>-->

        <a href="<?php echo url('My/info'); ?>">
            <div class="aui-head-access b-line">
                <div class="aui-head-access-hd">我的资料</div>
                <span class="aui-head-access-fr"></span>
            </div>
        </a>
        <a href="<?php echo url('My/apply'); ?>">
            <div class="aui-head-access b-line">
                <div class="aui-head-access-hd">我的报名记录</div>
                <span class="aui-head-access-fr"></span>
            </div>
        </a>
        <a href="<?php echo url('My/attendance'); ?>">
            <div class="aui-head-access b-line">
                <div class="aui-head-access-hd">我的考勤</div>
                <span class="aui-head-access-fr"></span>
            </div>
        </a>
        <div class="divHeight"></div>
        <a href="<?php echo url('Set/index'); ?>">
            <div class="aui-head-access b-line">
                <div class="aui-head-access-hd">修改密码</div>
                <span class="aui-head-access-fr"></span>
            </div>
        </a>
        <a href="JavaScript:share();">
            <div class="aui-head-access b-line">
                <div class="aui-head-access-hd">我的学校</div>
                <span class="aui-head-access-fr"></span>
            </div>
        </a>
        <a href="<?php echo url('Login/exits'); ?>">
            <div class="aui-head-access">
                <div class="aui-head-access-hd">退出</div>
                <span class="aui-head-access-fr"></span>
            </div>
        </a>
        <div class="divHeight"></div>
    </section>
<link href="/public/static/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<footer class="aui-footer">
    <a href="<?php echo url('Indexs/index',['tid'=>$tid]); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-home"></i>
            </span>
        <span class="aui-tabBar-item-text">首页</span>
    </a>
    <a href="<?php echo url('My/register',['tid'=>$tid]); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="fa fa-user-plus" style="font-size:18px !important;"></i>
            </span>
        <span class="aui-tabBar-item-text">我要报名</span>
    </a>
    <!--<a href="news.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-find"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">消息</span>-->
    <!--</a>-->
    <!--<a href="community.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-comm"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">社区</span>-->
    <!--</a>-->
    <a href="<?php echo url('My/index',['tid'=>$tid]); ?>" class="aui-tabBar-item aui-tabBar-item-active">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-car"></i>
            </span>
        <span class="aui-tabBar-item-text">我的</span>
    </a>
</footer>
</section>

<script src="/public/static/home/js/jquery.min.js"></script>
<script src="/public/static/admin/layui/layui.js"></script>

<script>
    layui.use('upload', function() { //独立版的layer无需执行这一句
        var $ = layui.jquery, layer = layui.layer, upload = layui.upload; //独立版的layer无需执行这一句
        //分享
        window.share = () =>{
            var adv_str = `<?php echo $teacher['adv_str']; ?>`
            var adv_href = `<?php echo $teacher['adv_href']; ?>`
            if(adv_href == "" || adv_str == ""){
                console.log(adv_str,adv_href);
                layer.msg("分享地址失效",{time:2000,shade:0.8})
            }else{
                copyText(adv_str);
                window.location = adv_href
            }
        }

    });
    //复制文本
    function copyText(text){
        var textareaC = document.createElement('textarea');
        textareaC.setAttribute('readonly', 'readonly'); //设置只读属性防止手机上弹出软键盘
        textareaC.value = text;
        document.body.appendChild(textareaC); //将textarea添加为body子元素
        textareaC.select();
        var res = document.execCommand('copy');
        document.body.removeChild(textareaC);//移除DOM元素
        console.log("复制成功");
        return res;
    }

</script>

</body>
</html>